package com.ax.dubboxtest.main;

import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Main {

	public static void main(String[] args) throws Exception {
		ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(
				new String[] { "spring-config_restapi-provider.xml" });
		context.start();
		System.in.read(); // 为保证服务一直开着，利用输入流的阻塞来模拟

		
		// http://127.0.0.1:8880/demo/asd/12
		// http://127.0.0.1:8880/demo/getUsers.json
	}
}
